<?php

class Template
{
    private $_data = array();
    
    
    public function __set($paramName, $paramValue)
    {
        $this->_data[$paramName] = $paramValue;           
    }
    
    
    public function __get($paramName)
    {
        return $this->_data[$paramName];        
    }
    
    
    public function getTemplateData()
    {
        return $this->_data;
    }
}